Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(api): fix Dart API reference page #2569

Merged
merged 1 commit into from
Oct 7, 2016

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Oct 7, 2016

Dart API reference page is blank following the merge of #2566. This minor fix adapts to the new API filter criteria.

Also, for Dart we don’t show the statuses at all since none of the API entries are tagged with a status.

cc @kwalrath @naomiblack @alexwolfe @ericjim

Dart API reference page is blank following the merge of angular#2566. This
minor fix adjustes to the new API filter criteria.

For Dart we don’t show the statuses since none of the API entries are
tagged with a status.
@@ -76,7 +76,7 @@ angularIO.directive('apiList', function () {
{ cssClass: 'function', title: 'Function', matches: ['function'] },
{ cssClass: 'enum', title: 'Enum', matches: ['enum'] },
{ cssClass: 'type-alias', title: 'Type Alias', matches: ['type-alias'] },
{ cssClass: 'const', title: 'Const', matches: ['var', 'let', 'const'] }
{ cssClass: 'const', title: 'Const', matches: ['const', 'var', 'let'] }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is necessary so that 'const' elements get picked up in line 215; because 'const' is used as the canonical representative for the matches array elements.

Copy link
Contributor

@kwalrath kwalrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this once the tests pass.

@kwalrath kwalrath merged commit ab4f077 into angular:master Oct 7, 2016
@chalin chalin deleted the chalin-fix-dart-api-ref-1007 branch October 8, 2016 00:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants